refactor: use slices.Contains to simplify code#6069
Conversation
Signed-off-by: weifanglab <weifanglab@outlook.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesParser refactor
Related PRs: None identified. Suggested labels: refactor, low-risk Suggested reviewers: None specified. Poem: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There is a new function added in the go1.21 standard library, which can make the code more concise and easy to read.